<?php

defined('APP_PATH') || define('APP_PATH', realpath('.'));

return new \Phalcon\Config(array(
    'database' => array(
        'adapter'     => 'Mysql',
        'host'        => '127.0.0.1',
        'username'    => 'root',
        'password'    => 'paterhezhi',
        'dbname'      => 'phalcon',
        'charset'     => 'utf8',
    ),
    'b2c' => array(
        'controllersDir' => APP_PATH . '/app/b2c/controller/',
        'modelsDir'      => APP_PATH . '/app/b2c/models/',
        'migrationsDir'  => APP_PATH . '/app/b2c/migrations/',
        'viewsDir'       => APP_PATH . '/app/b2c/views/',
        'pluginsDir'     => APP_PATH . '/app/b2c/plugins/',
        'libraryDir'     => APP_PATH . '/app/b2c/library/',
        'cacheDir'       => APP_PATH . '/cache/b2c/',
        'baseUri'        => '/phalcon_store/',
    ),
    'wap' => array(
        'controllersDir' => APP_PATH . '/app/wap/controller/',
        'modelsDir'      => APP_PATH . '/app/wap/models/',
        'migrationsDir'  => APP_PATH . '/app/wap/migrations/',
        'viewsDir'       => APP_PATH . '/app/wap/views/',
        'pluginsDir'     => APP_PATH . '/app/wap/plugins/',
        'libraryDir'     => APP_PATH . '/app/wap/library/',
        'cacheDir'       => APP_PATH . '/cache/wap/',
        'baseUri'        => '/phalcon_store/',
    ),    
));
